<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:t="http://myfaces.apache.org/tomahawk" xml:lang="en" lang="en">


	<f:view>
		<ui:composition template="../templates/templateVAD.xhtml">
			<ui:define name="pageTitle">Contact</ui:define>
			<ui:define name="body">

				<h:form id="contact">
					<h:outputLabel value="Nom "></h:outputLabel>
					<h:inputText id="nom" value="#{vadBean.contact.nomcontact}"
						style="margin-left:90px;"></h:inputText>
					<br />
					<h:outputLabel value="Prenom "></h:outputLabel>
					<h:inputText id="prenom" value="#{vadBean.contact.prenomcontact}"
						style="margin-left:90px;"></h:inputText>
					<br />
					<h:outputLabel value="Telephone"></h:outputLabel>
					<h:inputText id="telephone" value="#{vadBean.contact.telephonecontact}"
						style="margin-left:90px;"></h:inputText>
					<br />
					
					<h:outputLabel value="Email"></h:outputLabel>
					<h:inputText id="email" value="#{vadBean.contact.emailcontact}"
						style="margin-left:90px;"></h:inputText>
						<br />
					<h:outputLabel value="Adresse "></h:outputLabel>
					
					<h:inputText id="adresse" value="#{vadBean.contact.adressecontact}"
						style="margin-left:90px;"></h:inputText>
					<br />
					<h:outputLabel value="Paye"></h:outputLabel>
					<h:inputText id="paye" value="#{vadBean.contact.payecontact}"
						style="margin-left:90px;"></h:inputText>
					<br />
					<h:outputLabel value="Ville "></h:outputLabel>
					<h:inputText id="ville" value="#{vadBean.contact.villecontact}"
						style="margin-left:90px;"></h:inputText>
					<br />
					<h:outputLabel value="Message "></h:outputLabel>
					
					<h:inputTextarea id="message" value="#{vadBean.contact.messagecontact}" style="margin-left:90px;"></h:inputTextarea>
					<br />
				<h:commandButton value="Envoyer" action="#{vadBean.envoyer}"></h:commandButton>
				<h:commandButton value="Annuler"></h:commandButton>
				</h:form>

			</ui:define>
		</ui:composition>
	</f:view>
</html>

